<template>
<div> 
<button @click="isBaibai">退出</button> 
</div>
</template>
<script>
	export default{
		methods:{
	        isBaibai:function() {
		 		this.$router.push({ path: '/' }) 
	        }
		}
	}
</script>
<style scoped> 
	button{position: fixed;right: 15px;top:15px;background: #4096ee;color: #fff;border-radius: 5px;border:none;padding: 5px}
</style>